<template>
  <div>
    {{props.block.props.content}}
  </div>
</template>

<script setup lang="ts">
import type { TextBlock } from '@/types/Block';

// const text={
//   type:"text",
//   content:"这是一段文本"
// }
const props=defineProps<{
  block:TextBlock
}>()
</script>

<style scoped>

</style>